package com.lanou3g.ptp.role.mapper;

import com.lanou3g.ptp.entity.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleMapper {
    void addRole(Role role);

    void deleteById(Long id);

    void updateById(Role role);

    List<Role> findAll();

    List<Role> findById(Long id);
}
